package com.mdd.admin.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("线索更新参数")
public class OrderClueUpdateStatusValidate implements Serializable {

    private static final long serialVersionUID = 1L;
    @NotNull(message = "昵称参数缺失")
    @ApiModelProperty(value = "线索id")
    private Long id;

    @NotNull(message = "状态参数缺失")
    @ApiModelProperty("状态 0待分配 1已分配  2跟进中 3已上岗 4已流失 5公海 9已作废")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;
}
